home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / xalan.jar / org / apache / xalan / xslt / UnImplNode.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-04-12  |  4.2 KB  |  214 lines

  1. package org.apache.xalan.xslt;
  2.  
  3. import org.apache.xalan.xpath.xml.XSLMessages;
  4. import org.w3c.dom.Attr;
  5. import org.w3c.dom.DOMException;
  6. import org.w3c.dom.Document;
  7. import org.w3c.dom.Element;
  8. import org.w3c.dom.NamedNodeMap;
  9. import org.w3c.dom.Node;
  10. import org.w3c.dom.NodeList;
  11.  
  12. class UnImplNode implements Element, NodeList {
  13.    void error(int var1) {
  14.       throw new RuntimeException(XSLMessages.createMessage(var1, (Object[])null));
  15.    }
  16.  
  17.    void error(int var1, Object[] var2) {
  18.       throw new RuntimeException(XSLMessages.createMessage(var1, var2));
  19.    }
  20.  
  21.    public Node appendChild(Node var1) throws DOMException {
  22.       this.error(80);
  23.       return null;
  24.    }
  25.  
  26.    public boolean hasChildNodes() {
  27.       this.error(80);
  28.       return false;
  29.    }
  30.  
  31.    public short getNodeType() {
  32.       this.error(80);
  33.       return 0;
  34.    }
  35.  
  36.    public Node getParentNode() {
  37.       this.error(80);
  38.       return null;
  39.    }
  40.  
  41.    public NodeList getChildNodes() {
  42.       this.error(80);
  43.       return null;
  44.    }
  45.  
  46.    public Node getFirstChild() {
  47.       this.error(80);
  48.       return null;
  49.    }
  50.  
  51.    public Node getLastChild() {
  52.       this.error(80);
  53.       return null;
  54.    }
  55.  
  56.    public Node getNextSibling() {
  57.       this.error(80);
  58.       return null;
  59.    }
  60.  
  61.    public int getLength() {
  62.       this.error(80);
  63.       return 0;
  64.    }
  65.  
  66.    public Node item(int var1) {
  67.       this.error(80);
  68.       return null;
  69.    }
  70.  
  71.    public Document getOwnerDocument() {
  72.       this.error(80);
  73.       return null;
  74.    }
  75.  
  76.    public String getTagName() {
  77.       this.error(80);
  78.       return null;
  79.    }
  80.  
  81.    public String getNodeName() {
  82.       this.error(80);
  83.       return null;
  84.    }
  85.  
  86.    public void normalize() {
  87.       this.error(80);
  88.    }
  89.  
  90.    public NodeList getElementsByTagName(String var1) {
  91.       this.error(80);
  92.       return null;
  93.    }
  94.  
  95.    public Attr removeAttributeNode(Attr var1) throws DOMException {
  96.       this.error(80);
  97.       return null;
  98.    }
  99.  
  100.    public Attr setAttributeNode(Attr var1) throws DOMException {
  101.       this.error(80);
  102.       return null;
  103.    }
  104.  
  105.    public Attr getAttributeNode(String var1) {
  106.       this.error(80);
  107.       return null;
  108.    }
  109.  
  110.    public void removeAttribute(String var1) throws DOMException {
  111.       this.error(80);
  112.    }
  113.  
  114.    public void setAttribute(String var1, String var2) throws DOMException {
  115.       this.error(80);
  116.    }
  117.  
  118.    public String getAttribute(String var1) {
  119.       this.error(80);
  120.       return null;
  121.    }
  122.  
  123.    public NodeList getElementsByTagNameNS(String var1, String var2) {
  124.       this.error(80);
  125.       return null;
  126.    }
  127.  
  128.    public Attr setAttributeNodeNS(Attr var1) throws DOMException {
  129.       this.error(80);
  130.       return null;
  131.    }
  132.  
  133.    public Attr getAttributeNodeNS(String var1, String var2) {
  134.       this.error(80);
  135.       return null;
  136.    }
  137.  
  138.    public void removeAttributeNS(String var1, String var2) throws DOMException {
  139.       this.error(80);
  140.    }
  141.  
  142.    public void setAttributeNS(String var1, String var2, String var3) throws DOMException {
  143.       this.error(80);
  144.    }
  145.  
  146.    public String getAttributeNS(String var1, String var2) {
  147.       this.error(80);
  148.       return null;
  149.    }
  150.  
  151.    public Node getPreviousSibling() {
  152.       this.error(80);
  153.       return null;
  154.    }
  155.  
  156.    public Node cloneNode(boolean var1) {
  157.       this.error(80);
  158.       return null;
  159.    }
  160.  
  161.    public String getNodeValue() throws DOMException {
  162.       this.error(80);
  163.       return null;
  164.    }
  165.  
  166.    public void setNodeValue(String var1) throws DOMException {
  167.       this.error(80);
  168.    }
  169.  
  170.    public NamedNodeMap getAttributes() {
  171.       this.error(80);
  172.       return null;
  173.    }
  174.  
  175.    public Node insertBefore(Node var1, Node var2) throws DOMException {
  176.       this.error(80);
  177.       return null;
  178.    }
  179.  
  180.    public Node replaceChild(Node var1, Node var2) throws DOMException {
  181.       this.error(80);
  182.       return null;
  183.    }
  184.  
  185.    public Node removeChild(Node var1) throws DOMException {
  186.       this.error(80);
  187.       return null;
  188.    }
  189.  
  190.    public boolean supports(String var1, String var2) {
  191.       this.error(80);
  192.       return false;
  193.    }
  194.  
  195.    public String getNamespaceURI() {
  196.       this.error(80);
  197.       return null;
  198.    }
  199.  
  200.    public String getPrefix() {
  201.       this.error(80);
  202.       return null;
  203.    }
  204.  
  205.    public void setPrefix(String var1) throws DOMException {
  206.       this.error(80);
  207.    }
  208.  
  209.    public String getLocalName() {
  210.       this.error(80);
  211.       return null;
  212.    }
  213. }
  214.